package com.gopay.common.domain.dps;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Version;

import com.gopay.common.domain.BaseEntity;

/**
 * 活动管理VO
 * 
 * @author ZHOUPENG
 * @date 2017年8月17日 下午2:51:33
 */
@Entity
@Table(name = "WA_ACTIVITY_MANAGE")
public class WaActivityManage extends BaseEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	/**
	 * 主键
	 */
	private String activityId;
	/**
	 * 活动名称
	 */
	private String activityName;

	/**
	 * 活动起始日期
	 */
	private Date activityStartTime;
	/**
	 * 活动截止日期
	 */
	private Date activityEndTime;
	/**
	 * 活动类型
	 */
	private Integer activityType;
	/**
	 * 活动总金额
	 */
	private BigDecimal activityTotalAmt;
	/**
	 * 活动随机起始金额
	 */
	private BigDecimal activityStartAmt;
	/**
	 * 活动随机截至金额
	 */
	private BigDecimal activityEndAmt;
	
	/**
	 * 无次数活动图片样式地址
	 */
	private String noFrequencyImgAddress;
	/**
	 * 无次数活动图片样式url
	 */
	private String nofrequencyimgUrl;
	/**
	 * 有次数活动图片样式地址
	 */
	private String frequencyImgAddress;
	/**
	 * 有次数活动图片样式url
	 */
	private String frequencyimgUrl;

	/**
	 * 乐观锁版本
	 */
	private Integer version;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 更新时间
	 */
	private Date updateTime;
	/**
	 * 交易类型
	 */
	private String tranTypes;
	/**
	 * 交易方式
	 */
	private String payTypes;
	/**
	 * 活动剩余金额
	 */
	private BigDecimal activityRemainAmt;

	@Id
	@Column(name = "ACTIVITY_ID")
	public String getActivityId() {
		return activityId;
	}

	public void setActivityId(String activityId) {
		this.activityId = activityId;
	}

	@Column(name = "ACTIVITY_NAME")
	public String getActivityName() {
		return activityName;
	}

	public void setActivityName(String activityName) {
		this.activityName = activityName;
	}

	@Column(name = "ACTIVITY_START_TIME")
	public Date getActivityStartTime() {
		return activityStartTime;
	}

	public void setActivityStartTime(Date activityStartTime) {
		this.activityStartTime = activityStartTime;
	}

	@Column(name = "ACTIVITY_END_TIME")
	public Date getActivityEndTime() {
		return activityEndTime;
	}

	public void setActivityEndTime(Date activityEndTime) {
		this.activityEndTime = activityEndTime;
	}

	@Column(name = "ACTIVITY_TYPE")
	public Integer getActivityType() {
		return activityType;
	}

	public void setActivityType(Integer activityType) {
		this.activityType = activityType;
	}

	@Column(name = "ACTIVITY_TOTAL_AMT")
	public BigDecimal getActivityTotalAmt() {
		return activityTotalAmt;
	}

	public void setActivityTotalAmt(BigDecimal activityTotalAmt) {
		this.activityTotalAmt = activityTotalAmt;
	}

	@Column(name = "ACTIVITY_START_AMT")
	public BigDecimal getActivityStartAmt() {
		return activityStartAmt;
	}

	public void setActivityStartAmt(BigDecimal activityStartAmt) {
		this.activityStartAmt = activityStartAmt;
	}

	@Column(name = "ACTIVITY_END_AMT")
	public BigDecimal getActivityEndAmt() {
		return activityEndAmt;
	}

	public void setActivityEndAmt(BigDecimal activityEndAmt) {
		this.activityEndAmt = activityEndAmt;
	}

	@Column(name = "NO_FREQUENCY_IMG_ADDRESS")
	public String getNoFrequencyImgAddress() {
		return noFrequencyImgAddress;
	}

	public void setNoFrequencyImgAddress(String noFrequencyImgAddress) {
		this.noFrequencyImgAddress = noFrequencyImgAddress;
	}

	@Column(name = "NO_FREQUENCY_IMG_URL")
	public String getNofrequencyimgUrl() {
		return nofrequencyimgUrl;
	}

	public void setNofrequencyimgUrl(String nofrequencyimgUrl) {
		this.nofrequencyimgUrl = nofrequencyimgUrl;
	}

	
	@Column(name = "FREQUENCY_IMG_ADDRESS")
	public String getFrequencyImgAddress() {
		return frequencyImgAddress;
	}

	public void setFrequencyImgAddress(String frequencyImgAddress) {
		this.frequencyImgAddress = frequencyImgAddress;
	}

	@Column(name = "FREQUENCY_IMG_URL")
	public String getFrequencyimgUrl() {
		return frequencyimgUrl;
	}

	public void setFrequencyimgUrl(String frequencyimgUrl) {
		this.frequencyimgUrl = frequencyimgUrl;
	}

	@Version
	@Column(name = "VERSION")
	public Integer getVersion() {
		return version;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}

	@Column(name = "CREATE_TIME")
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Column(name = "UPDATE_TIME")
	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
	@Column(name = "TRAN_TYPES")
	public String getTranTypes() {
		return tranTypes;
	}

	public void setTranTypes(String tranTypes) {
		this.tranTypes = tranTypes;
	}

	@Column(name = "PAY_TYPES")
	public String getPayTypes() {
		return payTypes;
	}

	public void setPayTypes(String payTypes) {
		this.payTypes = payTypes;
	}

	@Column(name = "ACTIVITY_REMAIN_AMT")
	public BigDecimal getActivityRemainAmt() {
		return activityRemainAmt;
	}

	public void setActivityRemainAmt(BigDecimal activityRemainAmt) {
		this.activityRemainAmt = activityRemainAmt;
	}

	
	
	
}
